﻿using System;

namespace NsbExtensions
{
    public class EndpointEventArgs : EventArgs
    {
        /// <summary>
        /// In case the caller would prefer to use class initialization instead of a constructor.
        /// </summary>
        public EndpointEventArgs()
        {
        }

        public EndpointEventArgs(string endpointId)
        {
            EndpointID = endpointId;
        }

        public string EndpointID { get; set; }
    }
}